// *****************************************************************************
// Copyright (c) 2005 - 2017 Qualcomm Technologies International, Ltd.
// %%version
//
// *****************************************************************************

#include "aac_library.h"

#ifdef AACDEC_SBR_ADDITIONS

// Now stored as part of padding for sbr_x_imag
.VAR/DMCONST dct4_64_table_flash [192] =
       0.49996250,   0.49905900,   0.49695350,   0.49365050,   0.48915850,   0.48348800,
       0.47665300,   0.46866950,   0.45955700,   0.44933700,   0.43803500,   0.42567750,
       0.41229450,   0.39791850,   0.38258350,   0.36632700,   0.34918800,   0.33120800,
       0.31242950,   0.29289900,   0.27266250,   0.25176900,   0.23026950,   0.20821500,
       0.18565850,   0.16265500,   0.13926000,   0.11552900,   0.09152000,   0.06729050,
       0.04289865,   0.01840360,  -0.50610000,  -0.52972000,  -0.55206500,  -0.57308000,
      -0.59271500,  -0.61092000,  -0.62765500,  -0.64288000,  -0.65655500,  -0.66864500,
      -0.67912500,  -0.68797000,  -0.69516000,  -0.70067500,  -0.70450000,  -0.70663000,
      -0.70705500,  -0.70577500,  -0.70280000,  -0.69813000,  -0.69177500,  -0.68375500,
      -0.67409000,  -0.66280000,  -0.64991000,  -0.63546000,  -0.61947500,  -0.60200000,
      -0.58307500,  -0.56274000,  -0.54105500,  -0.51806500,  -0.49382650,  -0.46839850,
      -0.44184250,  -0.41422150,  -0.38560300,  -0.35605550,  -0.32565000,  -0.29446000,
      -0.26256100,  -0.23002900,  -0.19694300,  -0.16338250,  -0.12942850,  -0.09516300,
      -0.06066800,  -0.02602665,   0.00867730,   0.04336030,   0.07793900,   0.11232950,
       0.14645000,   0.18021700,   0.21355050,   0.24636900,   0.27859450,   0.31014850,
       0.34095550,   0.37094100,   0.40003300,   0.42816100,   0.45525750,   0.48125750,
       0.50000000,   0.49939750,   0.49759250,   0.49458850,   0.49039250,   0.48501550,
       0.47847000,   0.47077200,   0.46194000,   0.45199450,   0.44096050,   0.42886450,
       0.41573500,   0.40160400,   0.38650500,   0.37047550,   0.35355350,   0.33577950,
       0.31719650,   0.29784950,   0.27778500,   0.25705150,   0.23569850,   0.21377750,
       0.19134150,   0.16844500,   0.14514250,   0.12149000,   0.09754500,   0.07336500,
       0.04900855,   0.02453380,  -0.50000000,  -0.52393000,  -0.54660000,  -0.56795500,
      -0.58794000,  -0.60650500,  -0.62361500,  -0.63921500,  -0.65328000,  -0.66577000,
      -0.67666000,  -0.68591500,  -0.69352000,  -0.69945500,  -0.70370000,  -0.70625500,
       0.00000000,  -0.70625500,  -0.70370000,  -0.69945500,  -0.69352000,  -0.68591500,
      -0.67666000,  -0.66577000,  -0.65328000,  -0.63921500,  -0.62361500,  -0.60650500,
      -0.58794000,  -0.56795500,  -0.54660000,  -0.52393000,  -0.50000000,  -0.47486400,
      -0.44858400,  -0.42122300,  -0.39284750,  -0.36352550,  -0.33332800,  -0.30232700,
      -0.27059800,  -0.23821700,  -0.20526200,  -0.17181300,  -0.13794950,  -0.10375400,
      -0.06930850,  -0.03469605,   0.00000000,   0.03469615,   0.06930850,   0.10375400,
       0.13794950,   0.17181300,   0.20526250,   0.23821700,   0.27059800,   0.30232700,
       0.33332800,   0.36352550,   0.39284750,   0.42122300,   0.44858400,   0.47486400;

.VAR/DMCONST QMF_filterbank_window_flash [321] =
       0.0000000000,     -0.0005525286,    -0.0005617692,   -0.0004947518,     -0.0004875227,     -0.0004893791,     -0.0005040714,    -0.0005226564,   -0.0005466565,     -0.0005677802,
      -0.0005870930,     -0.0006132747,    -0.0006312493,   -0.0006540333,     -0.0006777690,     -0.0006941614,     -0.0007157736,    -0.0007255043,   -0.0007440941,     -0.0007490598,
      -0.0007681371,     -0.0007724848,    -0.0007834332,   -0.0007779869,     -0.0007803664,     -0.0007801449,     -0.0007757977,    -0.0007630793,   -0.0007530001,     -0.0007319357,
      -0.0007215391,     -0.0006917937,    -0.0006650415,   -0.0006341594,     -0.0005946118,     -0.0005564576,     -0.0005145572,    -0.0004606325,   -0.0004095121,     -0.0003501175,
      -0.0002896981,     -0.0002098337,    -0.0001446380,   -0.0000617334,      0.0000134949,      0.0001094383,      0.0002043017,     0.0002949531,    0.0004026540,      0.0005107388,
       0.0006239376,      0.0007458025,     0.0008608443,    0.0009885988,      0.0011250155,      0.0012577884,      0.0013902494,     0.0015443219,    0.0016868083,      0.0018348265,
       0.0019841140,      0.0021461583,     0.0023017254,    0.0024625616,      0.0026201758,      0.0027870464,      0.0029469447,     0.0031125420,    0.0032739613,      0.0034418874,
       0.0036008268,      0.0037603922,     0.0039207432,    0.0040819753,      0.0042264269,      0.0043730719,      0.0045209852,     0.0046606460,    0.0047932560,      0.0049137603,
       0.0050393022,      0.0051407353,     0.0052461166,    0.0053471681,      0.0054196775,      0.0054876040,      0.0055475714,     0.0055938023,    0.0056220643,      0.0056455196,
       0.0056389199,      0.0056266114,     0.0055917128,    0.0055404363,      0.0054753783,      0.0053838975,      0.0052715758,     0.0051382275,    0.0049839687,      0.0048109469,
       0.0046039530,      0.0043801861,     0.0041251642,    0.0038456408,      0.0035401246,      0.0032091885,      0.0028446757,     0.0024508540,    0.0020274176,      0.0015784682,
       0.0010902329,      0.0005832264,     0.0000276045,   -0.0005464280,     -0.0011568135,     -0.0018039472,     -0.0024826723,    -0.0031933778,   -0.0039401124,     -0.0047222596,
      -0.0055337211,     -0.0063792293,    -0.0072615816,   -0.0081798233,     -0.0091325329,     -0.0101150215,     -0.0111315548,    -0.0121849995,    0.0132718220,      0.0143904666,
       0.0155405553,      0.0167324712,     0.0179433381,    0.0191872431,      0.0204531793,      0.0217467550,      0.0230680169,     0.0244160992,    0.0257875847,      0.0271859429,
       0.0286072173,      0.0300502657,     0.0315017608,    0.0329754081,      0.0344620948,      0.0359697560,      0.0374812850,     0.0390053679,    0.0405349170,      0.0420649094,
       0.0436097542,      0.0451488405,     0.0466843027,    0.0482165720,      0.0497385755,      0.0512556155,      0.0527630746,     0.0542452768,    0.0557173648,      0.0571616450,
       0.0585915683,      0.0599837480,     0.0613455171,    0.0626857808,      0.0639715898,      0.0652247106,      0.0664367512,     0.0676075985,    0.0687043828,      0.0697630244,
       0.0707628710,      0.0717002673,     0.0725682583,    0.0733620255,      0.0741003642,      0.0747452558,      0.0753137336,     0.0758008358,    0.0761992479,      0.0764992170,
       0.0767093490,      0.0768173975,     0.0768230011,    0.0767204924,      0.0765050718,      0.0761748321,      0.0757305756,     0.0751576255,    0.0744664394,      0.0736406005,
       0.0726774642,      0.0715826364,     0.0703533073,    0.0689664013,      0.0674525021,      0.0657690668,      0.0639444805,     0.0619602779,    0.0598166570,      0.0575152691,
       0.0550460034,      0.0524093821,     0.0495978676,    0.0466303305,      0.0434768782,      0.0401458278,      0.0366418116,     0.0329583930,    0.0290824006,      0.0250307561,
       0.0207997072,      0.0163701258,     0.0117623832,    0.0069636862,      0.0019765601,     -0.0032086896,     -0.0085711749,    -0.0141288827,   -0.0198834129,     -0.0258227288,
      -0.0319531274,     -0.0382776572,    -0.0447806821,   -0.0514804176,     -0.0583705326,     -0.0654409853,     -0.0726943300,    -0.0801372934,   -0.0877547536,     -0.0955533352,
      -0.1035329531,     -0.1116826931,    -0.1200077984,   -0.1285002850,     -0.1371551761,     -0.1459766491,     -0.1549607071,    -0.1640958855,   -0.1733808172,     -0.1828172548,
      -0.1923966745,     -0.2021250176,    -0.2119735853,   -0.2219652696,     -0.2320690870,     -0.2423016884,     -0.2526480309,    -0.2631053299,   -0.2736634040,     -0.2843214189,
      -0.2950716717,     -0.3059098575,    -0.3168278913,   -0.3278113727,     -0.3388722693,     -0.3499914122,      0.3611589903,     0.3723795546,    0.3836350013,      0.3949211761,
       0.4062317676,      0.4175696896,     0.4289119920,    0.4402553754,      0.4515996535,      0.4629308085,      0.4742453214,     0.4855253091,    0.4967708254,      0.5079817500,
       0.5191234970,      0.5302240895,     0.5412553448,    0.5522051258,      0.5630789140,      0.5738524131,      0.5845403235,     0.5951123086,    0.6055783538,      0.6159109932,
       0.6261242695,      0.6361980107,     0.6461269695,    0.6559016302,      0.6655139880,      0.6749663190,      0.6842353293,     0.6933282376,    0.7022388719,      0.7109410426,
       0.7194462634,      0.7277448900,     0.7358211758,    0.7436827863,      0.7513137456,      0.7587080760,      0.7658674865,     0.7727780881,    0.7794287519,      0.7858353120,
       0.7919735841,      0.7978466413,     0.8034485751,    0.8087695004,      0.8138191270,      0.8185776004,      0.8230419890,     0.8272275347,    0.8311038457,      0.8346937361,
       0.8379717337,      0.8409541392,     0.8436238281,    0.8459818469,      0.8480315777,      0.8497805198,      0.8511971524,     0.8523047035,    0.8531020949,      0.8535720573,
       0.8537385600;

.VAR/DMCONST sbr_synthesis_pre_process_real_flash[64] =
     -0.015623823466237,  -0.015614412259193,  -0.015595595514065,  -0.015567384565356,  -0.015529796406287,  -0.015482853678559,  -0.015426584658717,  -0.015361023241113,
     -0.015286208917494,  -0.015202186753212,  -0.015109007360076,  -0.015006726865868,  -0.014895406880534,  -0.014775114459071,  -0.014645922061134,  -0.014507907507394,
     -0.014361153932657,  -0.014205749735789,  -0.014041788526468,  -0.013869369068795,  -0.013688595221803,  -0.013499575876900,  -0.013302424892270,  -0.013097261024294,
     -0.012884207856016,  -0.012663393722697,  -0.012434951634514,  -0.012199019196439,  -0.011955738525351,  -0.011705256164429,  -0.011447722994881,  -0.011183294145060,
     -0.010912128897015,  -0.010634390590554,  -0.010350246524846,  -0.010059867857653,  -0.009763429502225,  -0.009461110021942,  -0.009153091522757,  -0.008839559543494,
     -0.008520702944094,  -0.008196713791851,  -0.007867787245714,  -0.007534121438736,  -0.007195917358722,  -0.006853378727164,  -0.006506711876526,  -0.006156125625953,
     -0.005801831155497,  -0.005444041878898,  -0.005082973315035,  -0.004718842958113,  -0.004351870146642,  -0.003982275931320,  -0.003610282941885,  -0.003236115253003,
     -0.002859998249299,  -0.002482158489591,  -0.002102823570424,  -0.001722221988966,  -0.001340583005382,  -0.000958136504722,  -0.000575112858458,  -0.000191742785714;


.VAR/DMCONST sbr_synthesis_pre_process_imag_flash[64] =
      0.000191742785714,   0.000575112858459,   0.000958136504722,   0.001340583005382,   0.001722221988967,  0.002102823570424,   0.002482158489592,   0.002859998249299,
      0.003236115253003,   0.003610282941885,   0.003982275931321,   0.004351870146641,   0.004718842958113,   0.005082973315035,   0.005444041878898,   0.005801831155497,
      0.006156125625954,   0.006506711876526,   0.006853378727165,   0.007195917358723,   0.007534121438737,   0.007867787245714,   0.008196713791851,   0.008520702944094,
      0.008839559543494,   0.009153091522757,   0.009461110021942,   0.009763429502225,   0.010059867857653,   0.010350246524846,   0.010634390590554,   0.010912128897015,
      0.011183294145060,   0.011447722994882,   0.011705256164429,   0.011955738525351,   0.012199019196439,   0.012434951634514,   0.012663393722697,   0.012884207856016,
      0.013097261024295,   0.013302424892270,   0.013499575876900,   0.013688595221803,   0.013869369068795,   0.014041788526468,   0.014205749735789,   0.014361153932657,
      0.014507907507394,   0.014645922061134,   0.014775114459071,   0.014895406880534,   0.015006726865868,   0.015109007360076,   0.015202186753212,   0.015286208917494,
      0.015361023241113,   0.015426584658717,   0.015482853678559,   0.015529796406287,   0.015567384565356,   0.015595595514065,   0.015614412259193,   0.015623823466237;

.VAR/DMCONST sbr_synthesis_post_process_real_flash[128] =
      1.000000000000000,   0.999698818696200,   0.998795456205170,   0.997290456678690,   0.995184726672200,   0.992479534598710,   0.989176509964780,   0.985277642388940,
      0.980785280403230,   0.975702130038530,   0.970031253194540,   0.963776065795440,   0.956940335732210,   0.949528180593040,   0.941544065183020,   0.932992798834740,
      0.923879532511290,   0.914209755703530,   0.903989293123440,   0.893224301195520,   0.881921264348360,   0.870086991108710,   0.857728610000270,   0.844853565249710,
      0.831469612302550,   0.817584813151580,   0.803207531480640,   0.788346427626610,   0.773010453362740,   0.757208846506480,   0.740951125354960,   0.724247082951470,
      0.707106781186550,   0.689540544737070,   0.671558954847020,   0.653172842953780,   0.634393284163650,   0.615231590580630,   0.595699304492430,   0.575808191417850,
      0.555570233019600,   0.534997619887100,   0.514102744193220,   0.492898192229780,   0.471396736826000,   0.449611329654610,   0.427555093430280,   0.405241314004990,
      0.382683432365090,   0.359895036534990,   0.336889853392220,   0.313681740398890,   0.290284677254460,   0.266712757474900,   0.242980179903260,   0.219101240156870,
      0.195090322016130,   0.170961888760300,   0.146730474455360,   0.122410675199220,   0.098017140329560,   0.073564563599670,   0.049067674327420,   0.024541228522910,
                      0,  -0.024541228522910,  -0.049067674327420,  -0.073564563599670,  -0.098017140329560,  -0.122410675199220,  -0.146730474455360,  -0.170961888760300,
     -0.195090322016130,  -0.219101240156870,  -0.242980179903260,  -0.266712757474900,  -0.290284677254460,  -0.313681740398890,  -0.336889853392220,  -0.359895036534990,
     -0.382683432365090,  -0.405241314004990,  -0.427555093430280,  -0.449611329654610,  -0.471396736826000,  -0.492898192229780,  -0.514102744193220,  -0.534997619887100,
     -0.555570233019600,  -0.575808191417850,  -0.595699304492430,  -0.615231590580630,  -0.634393284163650,  -0.653172842953780,  -0.671558954847020,  -0.689540544737070,
     -0.707106781186550,  -0.724247082951470,  -0.740951125354960,  -0.757208846506480,  -0.773010453362740,  -0.788346427626610,  -0.803207531480640,  -0.817584813151580,
     -0.831469612302550,  -0.844853565249710,  -0.857728610000270,  -0.870086991108710,  -0.881921264348350,  -0.893224301195520,  -0.903989293123440,  -0.914209755703530,
     -0.923879532511290,  -0.932992798834740,  -0.941544065183020,  -0.949528180593040,  -0.956940335732210,  -0.963776065795440,  -0.970031253194540,  -0.975702130038530,
     -0.980785280403230,  -0.985277642388940,  -0.989176509964780,  -0.992479534598710,  -0.995184726672200,  -0.997290456678690,  -0.998795456205170,  -0.999698818696200;

// Now stored as part of padding for sbr_x_real
.VAR/DMCONST sbr_synthesis_post_process_imag_flash[128] =
                      0,  -0.024541228522910,  -0.049067674327420,  -0.073564563599670,  -0.098017140329560,  -0.122410675199220,  -0.146730474455360,  -0.170961888760300,
     -0.195090322016130,  -0.219101240156870,  -0.242980179903260,  -0.266712757474900,  -0.290284677254460,  -0.313681740398890,  -0.336889853392220,  -0.359895036534990,
     -0.382683432365090,  -0.405241314004990,  -0.427555093430280,  -0.449611329654610,  -0.471396736826000,  -0.492898192229780,  -0.514102744193220,  -0.534997619887100,
     -0.555570233019600,  -0.575808191417850,  -0.595699304492430,  -0.615231590580630,  -0.634393284163650,  -0.653172842953780,  -0.671558954847020,  -0.689540544737070,
     -0.707106781186550,  -0.724247082951470,  -0.740951125354960,  -0.757208846506480,  -0.773010453362740,  -0.788346427626610,  -0.803207531480640,  -0.817584813151580,
     -0.831469612302550,  -0.844853565249710,  -0.857728610000270,  -0.870086991108710,  -0.881921264348350,  -0.893224301195520,  -0.903989293123440,  -0.914209755703530,
     -0.923879532511290,  -0.932992798834740,  -0.941544065183020,  -0.949528180593040,  -0.956940335732210,  -0.963776065795440,  -0.970031253194540,  -0.975702130038530,
     -0.980785280403230,  -0.985277642388940,  -0.989176509964780,  -0.992479534598710,  -0.995184726672200,  -0.997290456678690,  -0.998795456205170,  -0.999698818696200,
     -1.000000000000000,  -0.999698818696200,  -0.998795456205170,  -0.997290456678690,  -0.995184726672200,  -0.992479534598710,  -0.989176509964780,  -0.985277642388940,
     -0.980785280403230,  -0.975702130038530,  -0.970031253194540,  -0.963776065795440,  -0.956940335732210,  -0.949528180593040,  -0.941544065183020,  -0.932992798834740,
     -0.923879532511290,  -0.914209755703530,  -0.903989293123440,  -0.893224301195520,  -0.881921264348360,  -0.870086991108710,  -0.857728610000270,  -0.844853565249710,
     -0.831469612302550,  -0.817584813151580,  -0.803207531480640,  -0.788346427626610,  -0.773010453362740,  -0.757208846506480,  -0.740951125354960,  -0.724247082951470,
     -0.707106781186550,  -0.689540544737070,  -0.671558954847020,  -0.653172842953780,  -0.634393284163650,  -0.615231590580630,  -0.595699304492430,  -0.575808191417850,
     -0.555570233019600,  -0.534997619887100,  -0.514102744193220,  -0.492898192229780,  -0.471396736826000,  -0.449611329654610,  -0.427555093430280,  -0.405241314004990,
     -0.382683432365090,  -0.359895036534990,  -0.336889853392220,  -0.313681740398890,  -0.290284677254460,  -0.266712757474900,  -0.242980179903260,  -0.219101240156870,
     -0.195090322016130,  -0.170961888760300,  -0.146730474455360,  -0.122410675199220,  -0.098017140329560,  -0.073564563599670,  -0.049067674327420,  -0.024541228522910;

#endif
